﻿#ifndef _OI_PLSCANNERCORE_ROTATEDATA_HPP_
#define _OI_PLSCANNERCORE_ROTATEDATA_HPP_

#include "View/OiLayer.hpp"

namespace Oi
{
    namespace PLScannerCore
    {
        class OI_PLSCANNER_CORE_API RotateData : public View::Layer
        {
            Q_OBJECT

        public:

            RotateData();

            virtual ~RotateData();

        public:
            virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget);
            virtual void hoverMoveEvent(QGraphicsSceneHoverEvent *event);
            virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);

        public:
            static void autoRotateData();


        private:
            OI_DISABLE_COPY(RotateData);
            OI_DECLARE_IMPL(RotateData);
        };
    }
}

#endif